projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0c5a5f
)
main: show: Don't strip mode, let's see the whole thing
author
Colin Walters
<walters@verbum.org>
Thu, 18 Jul 2013 18:23:12 +0000
(14:23 -0400)
committer
Colin Walters
<walters@verbum.org>
Thu, 18 Jul 2013 18:23:12 +0000
(14:23 -0400)
Just useful for debugging.
src/ostree/ot-builtin-show.c
patch
|
blob
|
history
diff --git
a/src/ostree/ot-builtin-show.c
b/src/ostree/ot-builtin-show.c
index 4ae36abae94c3077f64777e8e56967d81e3bbf75..95b2af27fc7c5251bd297d4aafdaeec3ea775b40 100644
(file)
--- a/
src/ostree/ot-builtin-show.c
+++ b/
src/ostree/ot-builtin-show.c
@@
-133,7
+133,7
@@
show_repo_meta (OstreeRepo *repo,
g_printerr ("(unknown type %u)\n", (guint)filetype);
}
- g_print ("Mode: 0%04o\n", g_file_info_get_attribute_uint32 (finfo, "unix::mode")
& ~S_IFMT
);
+ g_print ("Mode: 0%04o\n", g_file_info_get_attribute_uint32 (finfo, "unix::mode"));
g_print ("Uid: %u\n", g_file_info_get_attribute_uint32 (finfo, "unix::uid"));
g_print ("Gid: %u\n", g_file_info_get_attribute_uint32 (finfo, "unix::gid"));